package com.xjk.dubbo.service.impl;

import com.xjk.dubbo.sevice.DubboService;
import org.apache.dubbo.config.annotation.Service;

/**
 * @author Xjk
 *
 * 注解是区分Provider和Consumer的重要依据 provider中service是apache下的
 */

@Service
public class DubboServiceImpl implements DubboService {

    @Override
    public String test(String param) {
        System.out.println("执行test....");
        return param+"你好!";
    }
}
